package top.soulblack.purchasesale.model.VO;

/**
 * @Author: 韦溜溜
 * @Description:
 * @Date: Create in 20:57 2019/6/4
 */
public class GoodsToQueryVO {

    private String goodsId;

    private String name;

    private String goodsNumber;

    private String barCode;

    private String img_url;

    private String onlyBarCode;

    private String color;

    private String size;

    private String classify;

    private String storeName;

    private String unit;

    private Integer stockMin;

    private Integer stockMax;

    private Long stock;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGoodsNumber() {
        return goodsNumber;
    }

    public void setGoodsNumber(String goodsNumber) {
        this.goodsNumber = goodsNumber;
    }

    public String getBarCode() {
        return barCode;
    }

    public void setBarCode(String barCode) {
        this.barCode = barCode;
    }

    public String getColor() {
        return color;
    }

    public void setColor(String color) {
        this.color = color;
    }

    public String getSize() {
        return size;
    }

    public void setSize(String size) {
        this.size = size;
    }

    public String getClassify() {
        return classify;
    }

    public void setClassify(String classify) {
        this.classify = classify;
    }

    public String getStoreName() {
        return storeName;
    }

    public void setStoreName(String storeName) {
        this.storeName = storeName;
    }

    public String getUnit() {
        return unit;
    }

    public void setUnit(String unit) {
        this.unit = unit;
    }

    public Integer getStockMin() {
        return stockMin;
    }

    public void setStockMin(Integer stockMin) {
        this.stockMin = stockMin;
    }

    public Integer getStockMax() {
        return stockMax;
    }

    public void setStockMax(Integer stockMax) {
        this.stockMax = stockMax;
    }

    public String getImg_url() {
        return img_url;
    }

    public void setImg_url(String img_url) {
        this.img_url = img_url;
    }

    public Long getStock() {
        return stock;
    }

    public void setStock(Long stock) {
        this.stock = stock;
    }

    public String getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(String goodsId) {
        this.goodsId = goodsId;
    }

    public String getOnlyBarCode() {
        return onlyBarCode;
    }

    public void setOnlyBarCode(String onlyBarCode) {
        this.onlyBarCode = onlyBarCode;
    }

    @Override
    public String toString() {
        final StringBuilder sb = new StringBuilder("{");
        sb.append("\"goodsId\":\"")
                .append(goodsId).append('\"');
        sb.append(",\"name\":\"")
                .append(name).append('\"');
        sb.append(",\"goodsNumber\":\"")
                .append(goodsNumber).append('\"');
        sb.append(",\"barCode\":\"")
                .append(barCode).append('\"');
        sb.append(",\"img_url\":\"")
                .append(img_url).append('\"');
        sb.append(",\"onlyBarCode\":\"")
                .append(onlyBarCode).append('\"');
        sb.append(",\"color\":\"")
                .append(color).append('\"');
        sb.append(",\"size\":\"")
                .append(size).append('\"');
        sb.append(",\"classify\":\"")
                .append(classify).append('\"');
        sb.append(",\"storeName\":\"")
                .append(storeName).append('\"');
        sb.append(",\"unit\":\"")
                .append(unit).append('\"');
        sb.append(",\"stockMin\":")
                .append(stockMin);
        sb.append(",\"stockMax\":")
                .append(stockMax);
        sb.append(",\"stock\":")
                .append(stock);
        sb.append('}');
        return sb.toString();
    }

}
